package com.example.springboot02.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Component
@RestController
public class demoController {
    @RequestMapping("/hello")
    public String fu(){
        return "hello.world";
    }
}
